package com.ship.dispatch.bean;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <b>SpBoatsCanalAccess</b>
 *
 * @description: SpBoatsCanalAccess <br>
 * @date: 2024/4/10 13:39 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class SpBoatsCanalAccess implements Serializable {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty("运河名称")
    private String sectionName;

    @ApiModelProperty(value = "通行量")
    private Integer passNum;

    @ApiModelProperty(value = "时间")
    private String date;

    @ApiModelProperty(value = "平均通行时间：单位（/h）")
    public double avgPassTime;

    @ApiModelProperty(value = "可用状态：0-不可用，1-可用")
    private String enable;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSectionName() {
        return sectionName;
    }

    public void setSectionName(String sectionName) {
        this.sectionName = sectionName;
    }

    public Integer getPassNum() {
        return passNum;
    }

    public void setPassNum(Integer passNum) {
        this.passNum = passNum;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public double getAvgPassTime() {
        return avgPassTime;
    }

    public void setAvgPassTime(double avgPassTime) {
        this.avgPassTime = avgPassTime;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", sectionName").append(sectionName);
        sb.append(", passNum=").append(passNum);
        sb.append(", date=").append(date);
        sb.append(", avgPassTime=").append(avgPassTime);
        sb.append(", enable=").append(enable);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
